
import Crypt from "../../../utils/Crypt";
import StoreModel from "../../../models/Store";

const model = new StoreModel()

Page({
  data: {
    box: 0,
    team: 0,
    user: {},
    set: {}
  },
  onLoad: function (options) {

  },
  onShow() {
    model.getPerformance().then(response => {
      let { data } = response
      data = Crypt.parse(data)
      console.log(data)
      this.setData({ ...data })
    })
  }
});
